package com.hand.yd24378.mybatis_train.service;

import com.hand.yd24378.mybatis_train.vo.OrderLineQueryCondition;
import com.hand.yd24378.mybatis_train.vo.OrderLineQueryResult;
import com.hand.yd24378.mybatis_train.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : WaveLee
 * @date : 2019/7/17 11:02
 * @description :
 */
@Service
public class OrderService {
    @Autowired
    OrderMapper orderMapper;

    public List<OrderLineQueryResult> selectOrderLinesByCondition(OrderLineQueryCondition condition){
        return orderMapper.selectOrderLinesByCondition(condition);
    }
}
